package org.example.classdemo.finaldemo;

import com.alibaba.fastjson.JSONObject;


public class TestFinalClass {
    public static void main(String[] args) {

        StoneApple apple = new StoneApple("lucy","red");
        System.out.println(JSONObject.toJSONString(apple));
        //apple.setColor("green");
        System.out.println(JSONObject.toJSONString(apple));
    }

}
